package com.tengju.user.domain.model.archive.resume;

import com.tengju.user.domain.model.archive.IdCardNo;
import com.tengju.user.domain.model.user.UserIdCode;
import com.tengju.user.domain.shared.AccountId;
import lombok.Value;
import lombok.experimental.NonFinal;

@Value
public class BankCard {

    private BankCardId bankCardId;

    private AccountId accountId;

    private UserIdCode idCode;

    private IdCardNo idCardNo;

    private String idCardName;

    private String bankNo;

    private String bankName;

    private String platformCode = "DT";

    @NonFinal
    private BankCardStatus status;


    public void enable(){
        this.status = BankCardStatus.ENABLE;
    }

}
